package dmas.lab.helpers;

import java.util.Random;

public class Helpers {
	private static Random random = new Random();

	public static int getRandomInt(int maxValue) {
		return random.nextInt(maxValue);
	}

	public static double getRandomDouble() {
		return random.nextDouble();
	}

	public static double getProbability(int nomin, int denomin) {
		return (double) nomin / (double) denomin;
	}
}
